package com.wuster.service;

import com.wuster.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
* @author Admin
* @description 针对表【category】的数据库操作Service
* @createDate 2024-07-04 15:02:38
*/
public interface CategoryService extends IService<Category> {

    void setCategoryStatus(Long categoryId, Integer state);

    void addCategory(Category category);

    void deleteCategory(Long categoryId);

    void setCategoryDetails(Category category);

    Category getByCategoryId(Long categoryId);
}
